package com.example.curator.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liwq
 * @description
 * @date 2022-04-07 10:13
 */
@Data
@Component
@ConfigurationProperties(prefix = "zookeeper")
public class ZookeeperParam {
    private boolean enabled;
    private String server;
    private String namespace;
    private String digest;
    private int sessionTimeoutMs;
    private int connectionTimeoutMs;
    private int maxRetries;
    private int baseSleepTimeMs;
}
